3.1.91 \(\int \frac {x^2}{\sqrt {a^2+2 a b x^3+b^2 x^6}} \, dx\)

Optimal. Leaf size=44 \[ \frac {\left (a+b x^3\right ) \log \left (a+b x^3\right )}{3 b \sqrt {a^2+2 a b x^3+b^2 x^6}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1352, 608, 31} \begin {gather*} \frac {\left (a+b x^3\right ) \log \left (a+b x^3\right )}{3 b \sqrt {a^2+2 a b x^3+b^2 x^6}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2/Sqrt[a^2 + 2*a*b*x^3 + b^2*x^6],x]

[Out]

((a + b*x^3)*Log[a + b*x^3])/(3*b*Sqrt[a^2 + 2*a*b*x^3 + b^2*x^6])

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 608

Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[(b/2 + c*x)/Sqrt[a + b*x + c*x^2], Int[1/(b/2
+ c*x), x], x] /; FreeQ[{a, b, c}, x] && EqQ[b^2 - 4*a*c, 0]

Rule 1352

Int[(x_)^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Dist[1/n, Subst[Int[(a + b*x +
 c*x^2)^p, x], x, x^n], x] /; FreeQ[{a, b, c, m, n, p}, x] && EqQ[n2, 2*n] && EqQ[Simplify[m - n + 1], 0]

Rubi steps

\begin {align*} \int \frac {x^2}{\sqrt {a^2+2 a b x^3+b^2 x^6}} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{\sqrt {a^2+2 a b x+b^2 x^2}} \, dx,x,x^3\right )\\ &=\frac {\left (a b+b^2 x^3\right ) \operatorname {Subst}\left (\int \frac {1}{a b+b^2 x} \, dx,x,x^3\right )}{3 \sqrt {a^2+2 a b x^3+b^2 x^6}}\\ &=\frac {\left (a+b x^3\right ) \log \left (a+b x^3\right )}{3 b \sqrt {a^2+2 a b x^3+b^2 x^6}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 35, normalized size = 0.80 \begin {gather*} \frac {\left (a+b x^3\right ) \log \left (a+b x^3\right )}{3 b \sqrt {\left (a+b x^3\right )^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2/Sqrt[a^2 + 2*a*b*x^3 + b^2*x^6],x]

[Out]

((a + b*x^3)*Log[a + b*x^3])/(3*b*Sqrt[(a + b*x^3)^2])

________________________________________________________________________________________

IntegrateAlgebraic [B]  time = 0.27, size = 149, normalized size = 3.39 \begin {gather*} -\frac {\log \left (\sqrt {a^2+2 a b x^3+b^2 x^6}-a-\sqrt {b^2} x^3\right )}{6 \sqrt {b^2}}-\frac {\log \left (\sqrt {a^2+2 a b x^3+b^2 x^6}+a-\sqrt {b^2} x^3\right )}{6 \sqrt {b^2}}-\frac {\tanh ^{-1}\left (\frac {\sqrt {b^2} x^3}{a}-\frac {\sqrt {a^2+2 a b x^3+b^2 x^6}}{a}\right )}{3 b} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[x^2/Sqrt[a^2 + 2*a*b*x^3 + b^2*x^6],x]

[Out]

-1/3*ArcTanh[(Sqrt[b^2]*x^3)/a - Sqrt[a^2 + 2*a*b*x^3 + b^2*x^6]/a]/b - Log[-a - Sqrt[b^2]*x^3 + Sqrt[a^2 + 2*
a*b*x^3 + b^2*x^6]]/(6*Sqrt[b^2]) - Log[a - Sqrt[b^2]*x^3 + Sqrt[a^2 + 2*a*b*x^3 + b^2*x^6]]/(6*Sqrt[b^2])

________________________________________________________________________________________

fricas [A]  time = 1.07, size = 13, normalized size = 0.30 \begin {gather*} \frac {\log \left (b x^{3} + a\right )}{3 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/((b*x^3+a)^2)^(1/2),x, algorithm="fricas")

[Out]

1/3*log(b*x^3 + a)/b

________________________________________________________________________________________

giac [A]  time = 0.34, size = 22, normalized size = 0.50 \begin {gather*} \frac {\log \left ({\left | b x^{3} + a \right |}\right ) \mathrm {sgn}\left (b x^{3} + a\right )}{3 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/((b*x^3+a)^2)^(1/2),x, algorithm="giac")

[Out]

1/3*log(abs(b*x^3 + a))*sgn(b*x^3 + a)/b

________________________________________________________________________________________

maple [A]  time = 0.01, size = 32, normalized size = 0.73 \begin {gather*} \frac {\left (b \,x^{3}+a \right ) \ln \left (b \,x^{3}+a \right )}{3 \sqrt {\left (b \,x^{3}+a \right )^{2}}\, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/((b*x^3+a)^2)^(1/2),x)

[Out]

1/3*(b*x^3+a)*ln(b*x^3+a)/b/((b*x^3+a)^2)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.93, size = 15, normalized size = 0.34 \begin {gather*} \frac {\log \left (x^{3} + \frac {a}{b}\right )}{3 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/((b*x^3+a)^2)^(1/2),x, algorithm="maxima")

[Out]

1/3*log(x^3 + a/b)/b

________________________________________________________________________________________

mupad [B]  time = 1.39, size = 33, normalized size = 0.75 \begin {gather*} \frac {\ln \left (b^2\,x^3+a\,b\right )\,\mathrm {sign}\left (2\,b^2\,x^3+2\,a\,b\right )}{3\,\sqrt {b^2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/((a + b*x^3)^2)^(1/2),x)

[Out]

(log(a*b + b^2*x^3)*sign(2*a*b + 2*b^2*x^3))/(3*(b^2)^(1/2))

________________________________________________________________________________________

sympy [A]  time = 0.17, size = 10, normalized size = 0.23 \begin {gather*} \frac {\log {\left (a + b x^{3} \right )}}{3 b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/((b*x**3+a)**2)**(1/2),x)

[Out]

log(a + b*x**3)/(3*b)

________________________________________________________________________________________